<template>
  <div>
    <van-nav-bar @click-right="onClickRight">
      <template #left>
        <h3 class="recommend-title">{{title}}</h3>
      </template>
      <template #right>
        <van-tag round type="primary" plain >查看更多</van-tag>
      </template>
    </van-nav-bar>
  </div>
</template>
<script  type='module'>

export default {
  name: 'DiscoverNavHeader',
  components: {
  },
  props: {
    title: String
  },
  data () {
    return {
    }
  },
  methods: {
    onClickRight () {
      this.$router.push('/singersage')
    }
  }
}
</script>

<style lang="less" scope>
.recommend-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0px;
}
</style>
